﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApolloExtension;

namespace ApolloExtension.NFX.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            var config = ApolloExtension.ApolloConfig.GetConfigByNameSpace(new string[] { "application", "sunnyfish", });

            Console.Write("请输入Key:");
            var key = Console.ReadLine().Trim();
            while (!string.IsNullOrEmpty(key))
            {
                Console.WriteLine($"key:{key},val:{config.Get(key, "-_-")}");
                Console.Write("请输入Key:");
                key = Console.ReadLine().Trim();
            }
        }
    }
}
